<%@ page import="java.io.BufferedReader" %>
<%@ page import="java.io.InputStreamReader" %>
<%@ page import="java.io.IOException" %>
<%@ page import="java.util.List" %>
<%@ page import="java.util.ArrayList" %><%--
  Created by IntelliJ IDEA.
  User: 劳俊谕
  Date: 2024/1/8
  Time: 21:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
  <style>
    body{
      background-image: url("images/网页背景图.jpg");
      /*background-size: 100%;*/
      background-repeat: no-repeat;
      background-size: 100% 100%;
      background-attachment: fixed;
      color: rgba(255, 255, 255, 0.8);
    }
  </style>
</head>
<body>
<%-- 这里是 history.jsp 页面的内容 --%>
<%
    // 读取前端发送的数据
    String inputValue = request.getParameter("inputValue");

    // 输出接收到的数据到控制台
    System.out.println("Received data from front-end: " + inputValue);
%>

<h2>历史页面</h2>

<%-- 显示检索到的输入值 --%>
<%--<p>输入值: <%= inputValue %></p>--%>

<%-- 其他内容可以在这里添加 --%>
</body>
<script>
    var newDiv = document.createElement('div');
    newDiv.innerHTML = <%= inputValue %>;
    document.body.appendChild(newDiv);
</script>
</html>
